getTrackingId

abstract fun getTrackingId(): Int

Gets a unique identifier assigned to a detected face for tracking purposes.

This ID remains consistent for the same detected face across consecutive frames or analysis cycles as long as the system can reliably track it. If a face is lost and then redetected, it might receive a new tracking ID.

Return

The integer tracking ID for the detected face.